<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Connection_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-connection_id" data-rule="required" data-source="connection/index" class="form-control selectpage" name="row[connection_id]" type="text" value="{$row.connection_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Connection_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-connection_name" data-rule="required" class="form-control" name="row[connection_name]" type="text" value="{$row.connection_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Connection_mobile')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-connection_mobile" class="form-control" name="row[connection_mobile]" type="text" value="{$row.connection_mobile|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Connection_mobile_see')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-connection_mobile_see" class="form-control" name="row[connection_mobile_see]" type="text" value="{$row.connection_mobile_see|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Bind_staff_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-bind_staff_id" data-rule="required" data-source="bind/staff/index" class="form-control selectpage" name="row[bind_staff_id]" type="text" value="{$row.bind_staff_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Bind_staff_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-bind_staff_name" class="form-control" name="row[bind_staff_name]" type="text" value="{$row.bind_staff_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Bind_staff_mobile')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-bind_staff_mobile" class="form-control" name="row[bind_staff_mobile]" type="text" value="{$row.bind_staff_mobile|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Staff_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-staff_id" data-rule="required" data-source="staff/index" class="form-control selectpage" name="row[staff_id]" type="text" value="{$row.staff_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Staff_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-staff_name" class="form-control" name="row[staff_name]" type="text" value="{$row.staff_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Staff_mobile')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-staff_mobile" class="form-control" name="row[staff_mobile]" type="text" value="{$row.staff_mobile|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Staff_connection_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-staff_connection_id" data-rule="required" data-source="staff/connection/index" class="form-control selectpage" name="row[staff_connection_id]" type="text" value="{$row.staff_connection_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Handle_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-handle_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[handle_time]" type="text" value="{:$row.handle_time?datetime($row.handle_time):''}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
